/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

import java.sql.Date;
import javax.swing.JSpinner;

/**
 *
 * @author My PC
 */
public class NhanVien {

    String maNhanvien;
    String tenNhanvien;
    String gioitinh;
    String chucvu;
    Date ngaysinh;
    String diachi;
    String socmnd;
    String dienthoai;
    String email;
    String username;
    String password;
    Date ngaylamviec;

    public String getMaNhanvien() {
        return maNhanvien;
    }

    public void setMaNhanvien(String maNhanvien) {
        this.maNhanvien = maNhanvien;
    }

    public String getTenNhanvien() {
        return tenNhanvien;
    }

    public void setTenNhanvien(String tenNhanvien) {
        this.tenNhanvien = tenNhanvien;
    }

    public String getGioitinh() {
        return gioitinh;
    }

    public void setGioitinh(String gioitinh) {
        this.gioitinh = gioitinh;
    }

    public String getChucvu() {
        return chucvu;
    }

    public void setChucvu(String chucvu) {
        this.chucvu = chucvu;
    }

    public Date getNgaysinh() {
        return ngaysinh;
        // return ngaysinh.getDay()/ngaysinh.getMonth()/ngaysinh.getYear();
        //return getMonth/getString/getYear;
    }

    public void setNgaysinh(Date ngaysinh) {
        this.ngaysinh = ngaysinh;
    }

    public String getDiachi() {
        return diachi;
    }

    public void setDiachi(String diachi) {
        this.diachi = diachi;
    }

    public String getSocmnd() {
        return socmnd;
    }

    public void setSocmnd(String socmnd) {
        this.socmnd = socmnd;
    }

    public String getDienthoai() {
        return dienthoai;
    }

    public void setDienthoai(String dienthoai) {
        this.dienthoai = dienthoai;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getNgaylamviec() {
        return ngaylamviec;
    }

    public void setNgaylamviec(Date ngaylamviec) {
        this.ngaylamviec = ngaylamviec;
    }

    public NhanVien() {
    }

    public NhanVien(String maNhanvien, String tenNhanvien, String gioitinh,
            String chucvu, Date ngaysinh, String diachi, String socmnd,
            String dienthoai, String email, String username, String password,
            Date ngaylamviec) {
        this.maNhanvien = maNhanvien;
        this.tenNhanvien = tenNhanvien;
        this.gioitinh = gioitinh;
        this.chucvu = chucvu;
        this.ngaysinh = ngaysinh;
        this.diachi = diachi;
        this.socmnd = socmnd;
        this.dienthoai = dienthoai;
        this.email = email;
        this.username = username;
        this.password = password;
        this.ngaylamviec = ngaylamviec;
    }
}
